#pragma once

#include <QWidget>
#include "json_data.h"


QT_BEGIN_NAMESPACE
namespace Ui { class GratingSettingWid; };
QT_END_NAMESPACE

class GratingSettingWid : public QWidget
{
	Q_OBJECT

public:
	GratingSettingWid(QWidget* parent = nullptr);
	~GratingSettingWid();
	void Init(const GratingJ& cfg);
	GratingJ GetCfg();
private:
	//void CheckData(GratingJ);


private:
	Ui::GratingSettingWid* ui;
};
